package com.zmx.b2c.order.contents;

/**
 * @Description: 订单静态数据
 * @ClassName: OrderContents
 * @Author zhaomxr
 * @Date 2022-01-05 16:33
 */
public class CreateOrderContents {
    public static final String RESULT_SUCCESS_CODE = "0";
    public static final String RESULT_SUCCESS_MSG = "success";

    public static final String RESULT_ERROR_CODE = "-1";
    public static final String RESULT_ERROR_MSG = "error";

    public static final String CHECK_SUCCESS_CODE = "1";
    public static final String CHECK_SUCCESS__MSG = "订单参数校验通过!";

    public static final String PRO_ERROR_CODE = "-100";
    public static final String PRO_ERROR_MSG = "请选择商品!";

    public static final String OPENID_ERROR_CODE = "-101";
    public static final String OPENID_ERROR_MSG = "openId为空!";

    public static final String PRODUCT_ERROR_CODE = "-102";
    public static final String PRODUCT_ERROR_MSG = "购买商品数量至少为1!";

    public static final String ADDRESS_ERROR_CODE = "-103";
    public static final String ADDRESS_ERROR_MSG = "收货地址为空!";

    public static final String ORDER_AMOUNT_ERROR_CODE = "-104";
    public static final String ORDER_AMOUNT_ERROR_MSG = "订单金额必须大于0!";

    public static final String AMOUNT_ERROR_CODE = "-105";
    public static final String AMOUNT_ERROR_MSG = "订单金额与实际金额不符!";

    public static final String SIGN_ERROR_CODE = "-106";
    public static final String SIGN_ERROR_MSG = "验签失败!";

    public static final String MEMBERID_ERROR_CODE = "-107";
    public static final String MEMBERID_ERROR_MSG = "用户未登录!";

    public static final String OUT_ORDER_ERROR_CODE = "-108";
    public static final String OUT_ORDER_ERROR_MSG = "同一用户每天最多下20单!";

    public static final String NO_USER_ERROR_CODE = "-109";
    public static final String NO_USER_ERROR_MSG = "未查询到该用户!";

    public static final String NO_USER_ORDER_ERROR_CODE = "-110";
    public static final String NO_USER_ORDER_ERROR_MSG = "该订单不属于此用户 无法取消订单!";

    public static final String ACTIVE_NO_EXIT_CODE = "-201";
    public static final String ACTIVE_NO_EXIT_MSG = "活动不存在!";

    public static final String ACTIVE_FAILURE_CODE = "-202";
    public static final String ACTIVE_FAILURE_MSG = "活动失效!";

    public static final String PRO_NO_EXIT_CODE = "-203";
    public static final String PRO_NO_EXIT_MSG = "商品不存在!";

    public static final String PRO_MARKETABLE_CODE = "-204";
    public static final String PRO_MARKETABLE_MSG = "商品已下架!";

    public static final String ACTIVE_PRO_NO_EXIT_CODE = "-205";
    public static final String ACTIVE_PRO_NO_EXIT_MSG = "活动下不存在此商品!";

    public static final String ACTIVE_PRO_FAILURE_CODE = "-206";
    public static final String ACTIVE_PRO_FAILURE_MSG = "活动下此商品已失效!";

    public static final String PRO_STOCK_INSUFFICIENT_CODE = "-207";
    public static final String PRO_STOCK_INSUFFICIENT_MSG = "商品无库存!";

    public static final String CREATE_ORDER_PARAM_CODE = "-208";
    public static final String CREATE_ORDER_PARAM_MSG = "创建订单参数失败!";

    public static final String CART_ERROR_CODE = "-300";
    public static final String CART_ERROR_MSG = "该商品已添加至购物车!";

    public static final String ORDER_CANCEL_SUCCESS_CODE = "-400";
    public static final String ORDER_CANCEL_SUCCESS_MSG = "订单已取消!";

    public static final String ORDER_NO_EXIT_CODE = "-401";
    public static final String ORDER_NO_EXIT_MSG = "订单不存在!";

    public static final String ORDER_DELIVERY_CODE = "-402";
    public static final String ORDER_DELIVERY_MSG = "订单已发货!";

    public static final String ORDER_NO_CANCEL_CODE = "-403";
    public static final String ORDER_NO_CANCEL_MSG = "订单无法取消!";

    public static final String ORDER_SHOW_ERROR_CODE = "-404";
    public static final String ORDER_SHOW_ERROR_MSG = "构建订单显示信息失败!";

    public static final String ORDER_MEMBERID_ERROR_CODE = "-405";
    public static final String ORDER_MEMBERID_ERROR_MSG = "该订单不属于此用户 无法确认收货!";


    public static final String REFUND_PARAMS_ERROR_CODE = "-500";
    public static final String REFUND_PARAMS_ERROR_MSG = "退款参数错误!";

    public static final String REFUND_AMOUNT_Y_ERROR_CODE = "-501";
    public static final String REFUND_AMOUNT_Y_ERROR_MSG = "该订单下支付单已产生退款，无法整单退款!";

    public static final String REFUND_AMOUNT_LESS_ERROR_CODE = "-502";
    public static final String REFUND_AMOUNT_LESS_ERROR_MSG = "订单金额-已退款金额<退款金额!";

    public static final String PAY_AFTER_REWRITE_ORDER = "-600";
    public static final String PAY_AFTER_REWRITE_ORDER_MSG = "回写订单失败-回写金额与订单金额不一致!";
}
